Ensure recursing gdk_window_process_all_updates works
authorAlexander Larsson <alexl@redhat.com>
Thu, 10 Sep 2009 11:53:29 +0000 (13:53 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 10 Sep 2009 11:56:54 +0000 (13:56 +0200)
commitc4d2c38238f68bab1331631a4639c0fd49730cfd
tree031b9858a9ad8ac51b3f4d22025fbadbe8a71e1b
parent81334f3f96924c98a8f9c658b6f81c931d82217d
Ensure recursing gdk_window_process_all_updates works

There are two issues here. First of all an ignored update didn't
use to unset update_idle which could cause all further idle repaints
to be ignored. (Bug #591583)

Secondly, if we ignore the process_all_updates we may end up not updating
the windows in update_windows unless something else triggers an update.
So, we handle this by checking for recursions and scheduling a new update
at the end of the outermost process_all_updates.
gdk/gdkwindow.c